<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org" layout:decorator="layout/base" xmlns:extend="http://thymeleafexamples">
<head>
	<title>权限设置</title>
	
	<script type="text/javascript" th:src="@{/assets/js/plugins/uploaders/plupload/plupload.full.min.js}"></script>
	<script type="text/javascript" th:src="@{/assets/js/plugins/uploaders/plupload/plupload.queue.min.js}"></script>
	<script type="text/javascript" th:src="@{/assets/js/plugins/uploaders/plupload/zh_CN.js}"></script>
	
	
	<script type="text/javascript">
	$(function(){
		 // Setup all runtimes
		 var option = {
		        url: contextpath+'/upload/',
		        chunk_size: 0,
		        filters: {
		            max_file_size: '20MB',
		            mime_types: [{
		                title: "Image files",
		                extensions: "jpg,gif,png,txt"
		            }],
		            prevent_duplicates : true
		        },
		        init:{
		        	UploadComplete: function(up, files) {
		        		console.log(up);
		        		 console.log(files);
		        		 $(".file-uploader").pluploadQueue(option);
		            },
		            FileUploaded: function(up, file, info) {
		            	console.log("ffffff");
		        		 console.log(info);
		            },
		        }
		    }
	    $(".file-uploader").pluploadQueue(option);
		
	})
	
	</script>
	
</head>

<body>

	<!-- Page header -->
	<div class="page-header" layout:fragment="page-header">
		<div class="page-header-content">
			<div class="page-title">
				<h4><i class="icon-arrow-left52 position-left"></i> <span class="text-semibold">客户管理系统</span> - 权限设置</h4>
			</div>
		</div>
	</div>
	<!-- /page header -->


	<!-- Main content -->
	<div class="content-wrapper" layout:fragment="content">

		<!-- Table -->
		<div class="panel panel-flat">
			<div class="panel-heading">
				<h5 class="panel-title"><i class="icon-users" />角色列表</h5>
        	</div>

        	<div class="panel-body">
       			
				<div class="row">
					<div class="col-md-6">
						<div class="panel">
							<div class="panel-heading">
								<h5 class="panel-title"><i class="icon-users" />系统管理</h5>
				        	</div>
							<div class="panel-body">
								<button type="button" id="select" class="btn bg-danger btn-icon btn-rounded btn-del" ><i class="icon-cross"></i></button>

						<p class="text-semibold">Queue widget example:</p>
						<div class="file-uploader"><p>Your browser doesn't have Flash installed.</p></div>


							
							</div>
						</div>
					</div>
				</div>
			</div>
			
		</div>
		<!-- /table -->

	</div>
	<!-- /main content -->

</body>
</html>
